package com.hys.ultrasound.business.login;

import com.hys.ultrasound.data.http.HttpRequest;
import com.lpjeremy.libmodule.http.callback.HttpRequestCallBack;

public class LoginModel {
    /**
     * 登录
     *
     * @param userName
     * @param password
     * @param callBack
     */
    public void login(String userName, String password, HttpRequestCallBack callBack) {
        HttpRequest.getInstance().login(userName, password, callBack);
    }

    /**
     * 检测升级
     *
     * @param version
     * @param callBack
     */
    public void checkAppVersion(String version, HttpRequestCallBack callBack) {
        HttpRequest.getInstance().checkAppUpdate(version, callBack);
    }


}
